package com.zzyl.nursing.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("树形结构vo")
public class TreeVo {
    /**
     * 菜单名称
     */
    @ApiModelProperty("菜单名称")
    private String label;

    /**
     * 菜单id
     */
    @ApiModelProperty("菜单id")
    private String value;

    /**
     * 子菜单
     */
    @ApiModelProperty("子菜单")
    private List<TreeVo> children;
}
